html {
    width:100vw;
    overflow-x:hidden;
}

*{
	margin: 0;
	padding: 0;
	font-family: 'Montserrat', sans-serif;
}

a{
	color:#000; 
	}

h3{
	margin: 30px auto;
	font-size: 17px;
	line-height: 150%;
	max-width: 70ch;
	padding: 10px;
}
	
h2{
	font-size: 20px;
	padding: 5px;
	text-align: center;
}

.biotext{
		text-align: justify;
		font-size: 12px;
		padding: 30px;
		}

.img-PE {
	width: 100vw;
	height: 100vh;
	background-image: url(images/PE.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	z-index: -1;
	
}
	
@media (min-width:48em){
.header{
	min-height: 50vh;
	width: 100%;
	background-image: url(images/PE.jpg);
	background-size: 100%;
	opacity: 1;
	background-position: center;
	background-size: cover;
	position: relative;
	}
	
.text-box{
	width: 70%;
	color: #fff;
	position: absolute;
	top: 47%;
	left: 70%;
	opacity: 0.6;
	transform: translate(-50%,-50%);
	text-align: center;
}
	
.text-box h1{
		font-size: 50px;
	}
	
.text-box p{
		margin: 10px 0 40px;
		font-size: 30px;
		color: #fff;
	}
	
}	
@media (max-width:48em){
.header{
	min-height: 50vh;
	width: 100%;
	background-image: url(images/PEsmall.jpg);
	background-size: 10%;
	opacity: 1;
	background-position: center;
	background-size: cover;
	position: relative;
	}
	
.text-box{
	width: 70%;
	color: #fff;
	position: absolute;
	top: 75%;
	left: 50%;
	opacity: 0.6;
	transform: translate(-50%,-50%);
	text-align: center;
	}
	
.text-box h1{
		font-size: 30px;
	}
	
.text-box p{
		margin: 10px 0 40px;
		font-size: 25px;
		color: #fff;
	}
}	


	
.wrapper {
  max-width: 65rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
    word-wrap: break-word;
	font-size:1vw;
	
}
.header ul{
	margin: 0;
	padding: 0;
	list-style: none;
	overflow:hidden;
		z-index: 3;
}
.header ul a{
	display: block;
	padding: 15px;
	border-right: 1px solid #aaa;
	text-decoration: none;
	color: white;
	mix-blend-mode: difference;
	opacity: 1;
	text-align: left;
	z-index: 2;
	position: relative;
	font-weight: 100;
}
.header ul a:hover{
	background-color: none;
}
.header .menu{
	clear:both;
	max-height: 0;
	transition: max-height .2s ease-out;
}
.header .menu-icon{
	padding: 49px 57px;
	position:relative;
	float: right;
	cursor: pointer;
	z-index: 2;
}

.header .menu-icon .nav-icon{
	background: #ffff;
	display: block;
	height: 2px;
	width: 18px;
	position: relative;
	transition: background .2s ease-out;
}
.header .menu-icon .nav-icon:before{
	background:#ffff;
	content: "";
	display: block;
	height:100%;
	width: 100%;
	position:absolute;
	transition: all .2s ease-out;
	top:5px;
}
.header .menu-icon .nav-icon:after{
	background:#ffff;
	content: "";
	display: block;
	height:100%;
	width: 100%;
	position:absolute;
	transition: all .2s ease-out;
	top:-5px;
}
.header .menu-btn{
display: none;
}	
.header .menu-btn:checked ~ .menu{
	max-height:240px;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon{
	background:transparent;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:before{
	transform: rotate(-45deg);
	top:0;
}
.header .menu-btn:checked ~ .menu-icon .nav-icon:after{
	transform: rotate(45deg);
	top:0;
	}

	
@media (min-width:48em){
	.header li{
		float:left;
	}
	.header li a{
		padding: 20px 30px;
		color: white;
		mix-blend-mode: difference;
		opacity: 0.7;
		font-weight: 100;
	}
	.header .menu{
		clear:none;
		float:right;
		max-height: none;

	}
	.header .menu-icon{
		display:none;
	}
	
	.header ul a::after{
	content: '';
	width: 0%;
	height: 2px;
	background: #f44336;
	display: block;
	margin: auto;
	transition: 0.5s;
}

.header ul a:hover::after{
	content: '';
	width: 100%;
	height: 2px;
	background: #f44336;
	display: block;
	margin: auto;
}
}
	/*--------------About--------------*/
.auto-grid{
	font-size: 10px;
	text-align: justify;
	line-height: 35px;
	-webkit-columns:250px 3;
	-moz-columns: 250px 3;
	columns: 300px 3;
	-webkit-column gap:100px;
	-moz-column gap: 100px;
	column-gap: 100px;
	margin: 20px;
	
}
.about-PE{
	background-color: #f3f3f3;
}
/*-------------------ARCHIVE---------------*/
.archive{
	background-color: #f3f3f3;
}
.container{
	background-color: #f3f3f3;
}
.gallery-container{
	background-color: #f3f3f3;
}

body{
	margin: 0px;
	padding: 0px;
	text-align: center;
}

.container{
	display: grid;
	grid-template-columns: repeat(2,1fr);
	grid-auto-rows:350px;
	grid-gap: 15px;
	grid-auto-flow: dense;	
}
.gallery-item{
	width: 100%;
	height: 100%;
	position: relative;
}
.gallery-item .image{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.gallery-item .image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position:50% 50%;
	cursor: pointer;
	transition:.5s ease-in-out;
	
}
.gallery-item:hover .image img{
transform:scale(1.5); 
}
.gallery-item .text{
	opacity: 0;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: white;
	font-size: 25px;
	pointer-events: none;
	z-index: 4;
	transition: .3s ease-in-out;
/*	-webkit-backdrop-filter: blur(5px) saturate(1.8); 
	backdrop-filter: blur(5px) saturate(1.8); 
*/	
}
.gallery-item:hover .text{
opacity:1;
animation: appear;
padding:1em;
width: 80%;
font-weight: 900;
font-size: 40px;
}


/*-------------------M+D PAGE---------------*/
.MDPage{
	background-color: #f3f3f3;
}

.mdcontainer{
	display: grid;
	grid-template-columns: repeat(6,1fr);
	grid-auto-rows:100px 200px;
	grid-gap: 15px;
	grid-auto-flow: dense;
	background-color: #f3f3f3;
}
.mdgallery-item{
	width: 100%;
	height: 100%;
	position: relative;

}
.mdgallery-item .mdimage{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.mdgallery-item .mdimage img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position:50% 50%;
	cursor: pointer;
	transition:.5s ease-in-out;
}
.mdgallery-item:hover .mdimage img{
transform:scale(1.5); 
}
.mdgallery-item .mdtext{
	opacity: 0;
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;
	font-size: 25px;
	pointer-events: none;
	z-index: 4;
	transition: .3s ease-in-out;
	-webkit-backdrop-filter: blur(5px) saturate(1.8); 
	backdrop-filter: blur(5px) saturate(1.8); 
	
}
.mdgallery-item:hover .mdtext{
	opacity:1;
	animation: move-down .3s linear;
	padding:1em;
	width: 100%;
}

.w-1{
	grid-column: span 1;
}
.w-2{
	grid-column: span 2;
}
.w-3{
	grid-column: span 3;
}
.w-4{
	grid-column: span 4;
}
.w-5{
	grid-column: span 5;
}
.w-6{
	grid-column: span 6;
}
.h-1{
	grid-row: span 1;
	}
.h-2{
	grid-row: span 2;
}
.h-3{
	grid-row: span 3;
}
.h-4{
	grid-row: span 4;
}
.h-5{
	grid-row: span 5;
}
.h-6{
	grid-row: span 6;
}

.arrow {
  cursor: pointer;
  position: absolute;
  top: 50%;
  margin-top: -35px;
  width: 0;
  height: 0;
  border-style: solid;
}

#arrow-left {
  border-width: 30px 40px 30px 0;
  border-color: transparent #fff transparent transparent;
  left: 0;
  margin-left: 30px;
  opacity: 0.4;
}

#arrow-right {
  border-width: 30px 0 30px 40px;
  border-color: transparent transparent transparent #fff;
  right: 0;
  margin-right: 30px;
  opacity: 0.4;
}
	

.mdmodal{
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  z-index: 1;
  overflow: auto;
  opacity: 0;
  pointer-events: none;
}
.mdmodalContent{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.mdmodalImg{
	width: 80%;
	max-width: 700px;
}
.mdmodalTxt{
	margin-top: 1em;
}
.mdclose{
	position: absolute;
	top: 3em;
	right: 1.5em;
	font-size: 1.5em;
	cursor: pointer;
}
.mdmodal.appear{
	opacity: 1;
	pointer-events: all;
	}
.mdmodal.appear .mdmodalImg,
.mdmodal.appear .mdmodalTxt{
animation: zoom 0.3s linear;	
}


/*-------------------CONTACT PAGE---------------*/
body{
background-color: #f3f3f3;
}

.formcontainer{
	width: 45%;
	min-width: 150px;
	padding: 35px;
	position: center;
	display: block;
    margin-left: auto;
    margin-right: auto;
	border-radius: 10px;
}

.formcontainer h1{


}
.formcontainer p{
	position: relative;
	margin: auto;
	width: 100%;
	text-align: center;
	padding: 10px;
	line-height: 150%;

	}

form{
	width: 100%;
	position: relative;
	margin: 30px auto 0 auto;
}

.row{
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	grid-gap: 20px 30px;
	margin-bottom: 20px;
	}
	
label{
color: #1c093c;
font-size: 14px;
font-weight: 50px;
}

textarea, input{
	width: 100%;
	font-weight: 400;
	padding: 8px 10px;
	border-radius: 5px;
	border: 1.2px solid #c4cae0;
	margin-top: 5px;
}
textarea{
	resize: none;
}

textarea:focus, input:focus{
	outline: none;
	border-color: #6f6df4;
}
button{
	border: none;
	padding: 10px 20px;
	background: #646665;
	color: #ffffff;
	border-radius: 3px;
	}








@keyframes zoom {
	from{
		transform: scale(0);
	}
	to{
		transform: scale(1);
	}
}
	
@keyframes move-down{
	0%{
		top:10%;
}
	50%{
		top:35%;
}
	100%{
		top:50%;
}
}


@media screen and (max-width:700px){
	.mdcontainer{
		grid-template-columns: repeat(2,1fr);
	}
	.w-1, .w-2, .w-3, .w-4, .w-5, .w-6{
		grid-column: span 2;
}
}

@media screen and (max-width:500px){
	.mdcontainer{
		grid-template-columns: repeat(1,1fr);
	}
	.w-1, .w-2, .w-3, .w-4, .w-5, .w-6{
		grid-column: span 1;
}
}

@media screen and (max-width:700px){
	.container{
		grid-template-columns: repeat(2,1fr);
	}
	.w-1, .w-2, .w-3, .w-4, .w-5, .w-6{
		grid-column: span 2;
	}
}
@media screen and (max-width:500px){
	.container{
		grid-template-columns: repeat(1,1fr);
	}
	.w-1, .w-2, .w-3, .w-4, .w-5, .w-6{
		grid-column: span 1;
}
}
